#include "rand.h"
#include "polarlac_param.h"
#include <string.h>
#include <openssl/rand.h>
#include <openssl/aes.h>
#include <openssl/sha.h>
#include <openssl/crypto.h>
#include <openssl/evp.h>
// #include "aes256ctr.h"

//random bytes
int random_bytes(unsigned char *r, unsigned int len)
{
	//check parameter
	if(r==NULL)
	{
		return 1;
	}
	// call the random function 
	RAND_bytes(r,len);
	// randombytes(r,len);
	return 0;
}
